All Questions
2 questions
3votes
2answers
185views
Code Chef RAINBOW Palindrome
Problem Determine whether an array is "Rainbow", i.e. it has the following structure: First a1 elements equal 1. Next a2 elements equal 2. Next a3 elements equal 3. Next a4 elements ...
6votes
1answer
145views
PE4: Largest Palindrome Product (Clojure)
I solved Project Euler 4 using Clojure Lisp. A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest ...